home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / ACORNUSERS / EMULATOR / BABE / Documents / emulator < prev    next >
Text File  |  1998-02-06  |  3KB  |  41 lines

  1. Babe Emulator
  2. Project commenced: 10/1/98
  3. By David Sharp
  4.  
  5. Drag a Babe object code file to the emulator icon on the icon bar, or double-click it to load it into the emulator and automatically run it.
  6.  
  7. When the emulator has finished executing, simply press any key to return to the desktop, as displayed on the screen.
  8.  
  9. Alternatively, press Escape to quit the emulator to the desktop at any time. At any time during the emulation, it is possible to save a screenshot, simply press the S key on the keyboard, you will be asked to enter a file name, type it in and press return. Warning: you will need about 307Kb of free disk space.
  10.  
  11. Running the emulator
  12. ====================
  13.  
  14. There are different modes of emulation, which are set by selecting the 'Options' item from the icon bar menu. Simply select the option you want, and then run the Babe program as described above.
  15.  
  16. Full display - display the memory after every fetch-execute cycle, then fetch next instruction automatically.
  17.  
  18. Stepped - display the memory after every fetch-execute cycle, and then waits for a keypress before displaying the next. A must for debugging a program.
  19.  
  20. Realistic time - not yet implemented, but will basically be a full display, but each instruction will be executed taking the same time as the original Baby.
  21.  
  22. Jump to cycle number - this will make the emulator run in full  display until it reaches cycle number XXX (fill in the writeable icon) it then goes into stepped mode, so that you can debug certain parts of a program mid way through running, without sitting for ages holding down a key in stepped mode.
  23.  
  24. Description of the screen layout:
  25. =================================
  26.  
  27. At the very top of the screen, the version number of the program is displayed, along with its date of release, and my email address.
  28.  
  29. Each of the lines of green dots represents a binary digit (bit) in the computers memory, the dark dots represent a 0 and the lighter ones a 1. At the end of each of these lines (with the exception of the PI) is the decimal value of the bits. After this, for all store lines, and the PI is the assembly code equivalent of that instruction (function) for fast recognition. This is updated every time the storeline and PI alter.
  30.  
  31. The next line down labelled "C I:" is the Control Instruction.
  32. After that is the "P I: " or present instruction.
  33. Next comes the accumulator "ACC:"
  34. Followed by the 32 lines numbered 0-31 of the store.
  35. After the store comes the cycle counter, which displays the number of instructions executed since the program began "Cycle:". This is useful for the 'jump to cycle number' mode of emulation.
  36. When the STP (stop) instruction is executed, this is printed below the cycle counter.
  37. Below this, the time taken for the program to execute (only relevent for the full display mode) is printed in centi-seconds (hundredths of a second). 
  38.  
  39. Read the ProgRef manual for details of how to program the baby.
  40.  
  41.